package frameworks.widgets
{
	import flash.utils.Dictionary;
	
	public class Watchers
	{
		private var _senders:Dictionary = new Dictionary(true);
		
		public function Watchers()
		{
		}
		internal function senderAdded(sender:BaseSender, property:String, fun:Function):void{
			if(!_senders[sender]){_senders[sender] = {};}
			if(!_senders[sender][property]){_senders[sender][property] = new Dictionary(true);}
			if(!_senders[sender][property][fun]){_senders[sender][property][fun] = true;}
		}
	}
}